<template>
	<view>
		<view class="contents">
				<view :class="tabIndex == index ? 'nav nav_Active': 'nav'" @click="handlePush(item, index)" v-for="(item,index) in tabList">
					<image :src="tabIndex == index ? item.selectedIconPath : item.iconPath" style="border-radius: 50%;">
					</image>
					<view>{{item.text}}</view>
				</view>
		</view>
	</view>
</template>

<script>
	import tabbar from "./tabbar.js";
	export default tabbar;
</script>

<style>
	@import url("./tabbar.css");
</style>
